-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SubNav v2 a11y fixes #854
SubNav v2 a11y fixes #854
Conversation
🦋 Changeset detectedLatest commit: d1c1579 The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🟢 No design token changes found |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tested it! Looking 👌 perfect! Removing the focus trap solves the issue of accessing the close button and closing the subnav on focus out. We can reintroduce the focus trap once we take a deeper look into the focus trap we import from gh behaviors or primer... I forgot...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great!
Summary
Follow up to #851
Fixes additional issues found during upgrade, but non-blocking for the latest dotcom upgrade release.
List of notable changes:
SubNav.Heading
aria-current
visual indicator parity on narrow viewports in mobile overlayWhat should reviewers focus on?
Contributor checklist:
update snapshots
label to the PR)Reviewer checklist:
Screenshots:
Removed focus trapping:
Screen.Recording.2024-12-09.at.15.45.54.mov
Screen.Recording.2024-12-09.at.15.46.21.mov
Separator by default: